using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;

public class StartButton : MonoBehaviour, IPointerDownHandler
{
    Button button;

    private void Awake()
    {
        button = GetComponent<Button>();
    }


    public void OnPointerDown(PointerEventData eventData)
    {
        GameManager.LoadLevel(0);
    }
}
